home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / S-Sh / SCB 4.0.cpt / Script Cat Burglar 4.0 / card_2508.txt < prev    next >
Text File  |  1988-03-21  |  1KB  |  49 lines

  1. -- card: 2508 from stack: in.0
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2227
  5. -- name: Lining up buttons
  6.  
  7.  
  8. -- part contents for background part 15
  9. ----- text -----
  10. This stack was designed by     Philip A. Mohr, Jr.    4405 N. Rosemead    Rosemead, CA 91770
  11.  
  12. -- part contents for background part 67
  13. ----- text -----
  14. Hide Notes
  15.  
  16. -- part contents for background part 68
  17. ----- text -----
  18. 2508
  19.  
  20. -- part contents for background part 73
  21. ----- text -----
  22. Before I can do that, you   need to give the script   a name.  Sorry.  Try again.
  23.  
  24. -- part contents for background part 2
  25. ----- text -----
  26. Lining up buttons
  27.  
  28. -- part contents for background part 3
  29. ----- text -----
  30. doFkey
  31.  
  32. -- part contents for background part 13
  33. ----- text -----
  34. Stack/Card
  35.  
  36. -- part contents for background part 58
  37. ----- text -----
  38. on doit  -- lining up buttons
  39.   put the loc of button 1 into lastloc
  40.   repeat with i = 2 to 8
  41.     put item 2 of lastloc + 38 into item 2 of lastloc
  42.     set the loc of button  i to lastloc
  43.   end repeat
  44. end doit
  45.  
  46. -- part contents for background part 14
  47. ----- text -----
  48.  
  49. an example of how to get six buttons to line up on the card